From: Colin Walters Date: Thu, 4 Aug 2016 11:22:41 +0000 (-0400) Subject: lib: Add padding booleans to OstreeRepoCheckoutAtOptions X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~49^2~22 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/%22bookmarks:/?a=commitdiff_plain;h=593effe2fb0e096937f46a4d0930b1fcc9f811cd;p=ostree.git lib: Add padding booleans to OstreeRepoCheckoutAtOptions Since this is a new API, and adding booleans is the most likely thing we'll do, let's stick some explicit padding for them in here now. We could use the `unused_ints[]` but it'd be out of order, and this will more clearly remind people about the padding. The efficiency hit versus bitfields is annoying, but oh well, not a real world problem. Closes: #427 Approved by: giuseppe --- diff --git a/src/libostree/ostree-repo.h b/src/libostree/ostree-repo.h index f1ba22f1..ff1e712d 100644 --- a/src/libostree/ostree-repo.h +++ b/src/libostree/ostree-repo.h @@ -752,6 +752,7 @@ typedef struct { gboolean enable_fsync; /* Deprecated */ gboolean process_whiteouts; gboolean no_copy_fallback; + gboolean unused_bools[7]; const char *subpath;